package com.google.shop.product.vo.product.itemvo;

import com.fasterxml.jackson.annotation.JsonProperty;
//import org.apache.commons.configuration.tree.DefaultExpressionEngine;

/* loaded from: app.jar:BOOT-INF/classes/com/google/shop/product/vo/product/itemvo/SkuVO.class */
public class SkuVO {
    Integer skuId;
    String s1;
    String s2;
    String s3;
    String s4;
    String s5;
    String s6;
    @JsonProperty("price")
    Integer skuPrice;
    @JsonProperty("stock_num")
    Integer skuStock;

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public void setS1(String s1) {
        this.s1 = s1;
    }

    public void setS2(String s2) {
        this.s2 = s2;
    }

    public void setS3(String s3) {
        this.s3 = s3;
    }

    public void setS4(String s4) {
        this.s4 = s4;
    }

    public void setS5(String s5) {
        this.s5 = s5;
    }

    public void setS6(String s6) {
        this.s6 = s6;
    }

    @JsonProperty("price")
    public void setSkuPrice(Integer skuPrice) {
        this.skuPrice = skuPrice;
    }

    @JsonProperty("stock_num")
    public void setSkuStock(Integer skuStock) {
        this.skuStock = skuStock;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof SkuVO)) {
            return false;
        }
        SkuVO other = (SkuVO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$skuId = getSkuId();
        Object other$skuId = other.getSkuId();
        if (this$skuId == null) {
            if (other$skuId != null) {
                return false;
            }
        } else if (!this$skuId.equals(other$skuId)) {
            return false;
        }
        Object this$skuPrice = getSkuPrice();
        Object other$skuPrice = other.getSkuPrice();
        if (this$skuPrice == null) {
            if (other$skuPrice != null) {
                return false;
            }
        } else if (!this$skuPrice.equals(other$skuPrice)) {
            return false;
        }
        Object this$skuStock = getSkuStock();
        Object other$skuStock = other.getSkuStock();
        if (this$skuStock == null) {
            if (other$skuStock != null) {
                return false;
            }
        } else if (!this$skuStock.equals(other$skuStock)) {
            return false;
        }
        Object this$s1 = getS1();
        Object other$s1 = other.getS1();
        if (this$s1 == null) {
            if (other$s1 != null) {
                return false;
            }
        } else if (!this$s1.equals(other$s1)) {
            return false;
        }
        Object this$s2 = getS2();
        Object other$s2 = other.getS2();
        if (this$s2 == null) {
            if (other$s2 != null) {
                return false;
            }
        } else if (!this$s2.equals(other$s2)) {
            return false;
        }
        Object this$s3 = getS3();
        Object other$s3 = other.getS3();
        if (this$s3 == null) {
            if (other$s3 != null) {
                return false;
            }
        } else if (!this$s3.equals(other$s3)) {
            return false;
        }
        Object this$s4 = getS4();
        Object other$s4 = other.getS4();
        if (this$s4 == null) {
            if (other$s4 != null) {
                return false;
            }
        } else if (!this$s4.equals(other$s4)) {
            return false;
        }
        Object this$s5 = getS5();
        Object other$s5 = other.getS5();
        if (this$s5 == null) {
            if (other$s5 != null) {
                return false;
            }
        } else if (!this$s5.equals(other$s5)) {
            return false;
        }
        Object this$s6 = getS6();
        Object other$s6 = other.getS6();
        return this$s6 == null ? other$s6 == null : this$s6.equals(other$s6);
    }

    protected boolean canEqual(Object other) {
        return other instanceof SkuVO;
    }

    public int hashCode() {
        Object $skuId = getSkuId();
        int result = (1 * 59) + ($skuId == null ? 43 : $skuId.hashCode());
        Object $skuPrice = getSkuPrice();
        int result2 = (result * 59) + ($skuPrice == null ? 43 : $skuPrice.hashCode());
        Object $skuStock = getSkuStock();
        int result3 = (result2 * 59) + ($skuStock == null ? 43 : $skuStock.hashCode());
        Object $s1 = getS1();
        int result4 = (result3 * 59) + ($s1 == null ? 43 : $s1.hashCode());
        Object $s2 = getS2();
        int result5 = (result4 * 59) + ($s2 == null ? 43 : $s2.hashCode());
        Object $s3 = getS3();
        int result6 = (result5 * 59) + ($s3 == null ? 43 : $s3.hashCode());
        Object $s4 = getS4();
        int result7 = (result6 * 59) + ($s4 == null ? 43 : $s4.hashCode());
        Object $s5 = getS5();
        int result8 = (result7 * 59) + ($s5 == null ? 43 : $s5.hashCode());
        Object $s6 = getS6();
        return (result8 * 59) + ($s6 == null ? 43 : $s6.hashCode());
    }

//    public String toString() {
//        return "SkuVO(skuId=" + getSkuId() + ", s1=" + getS1() + ", s2=" + getS2() + ", s3=" + getS3() + ", s4=" + getS4() + ", s5=" + getS5() + ", s6=" + getS6() + ", skuPrice=" + getSkuPrice() + ", skuStock=" + getSkuStock() + DefaultExpressionEngine.DEFAULT_INDEX_END;
//    }

    public SkuVO(Integer skuId, String s1, String s2, String s3, String s4, String s5, String s6, Integer skuPrice, Integer skuStock) {
        this.skuId = skuId;
        this.s1 = s1;
        this.s2 = s2;
        this.s3 = s3;
        this.s4 = s4;
        this.s5 = s5;
        this.s6 = s6;
        this.skuPrice = skuPrice;
        this.skuStock = skuStock;
    }

    public SkuVO() {
    }

    public Integer getSkuId() {
        return this.skuId;
    }

    public String getS1() {
        return this.s1;
    }

    public String getS2() {
        return this.s2;
    }

    public String getS3() {
        return this.s3;
    }

    public String getS4() {
        return this.s4;
    }

    public String getS5() {
        return this.s5;
    }

    public String getS6() {
        return this.s6;
    }

    public Integer getSkuPrice() {
        return this.skuPrice;
    }

    public Integer getSkuStock() {
        return this.skuStock;
    }
}
